package com.dsz.usercenter.model.request;


import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 队伍请求参数类
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TeamQueryRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = 7014084166539090595L;
    /**
     * id
     */
    private Long id;

    /**
     * 队伍名称
     */
    private String name;

    /**
     * 创建用户
     */
    private Long userId;

    /**
     * 人数上限
     */
    private Integer maxNum;

    /**
     * 0-公开 1-私有 2-加密
     */
    private Integer status;

    /**
     * 描述
     */
    private String description;

    /**
     * 搜索：包含name和description
     */
    private String searchText;
    /**
     * 队伍id列表
     */
    private List idList;
}
